/**
 * 
 */
package com.pactera.android.broadcast;

import com.pactera.android.service.NotificationService;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * @author David Zheng
 *
 */
public class BootReceiver extends BroadcastReceiver {
	
	static final String TAG = "BootReceiver";

	/* (non-Javadoc)
	 * @see android.content.BroadcastReceiver#onReceive(android.content.Context, android.content.Intent)
	 */
	@Override
	public void onReceive(Context context, Intent intent) {
		Intent myIntent=new Intent(context, NotificationService.class);       
        context.startService(myIntent);
		
		Log.d(TAG, "BootReceiver");
	}

}
